package com.mentaleye.controller;

import com.mentaleye.biz.CommonBizImpl;
import com.mentaleye.util.CommonPage;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Administrator on 2017/5/18 0018.
 */
@Controller
@RequestMapping("/StudentSimulateInterviewRecordController")
public class StudentSimulateInterviewRecordController {

    @RequestMapping("/toListPage")
    public ModelAndView toListPage() {
        ModelAndView view = new ModelAndView("em/StudentSimulateInterviewRecord/studentSimulateInterviewRecordList");
        return view;
    }
    @RequestMapping("/listData")
    @ResponseBody
    public String listData( CommonPage commonPage) {
        CommonBizImpl.queryByPage("studentSimulateInterviewRecord",commonPage);
        return commonPage.toSHowPage();
    }






}
